package com.visitcqut.domain;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @program: visitcqut
 * @description: 游客实体类
 * @author: ATAO
 * @create: 2020-11-14 15:30
 **/



@Data
@NoArgsConstructor
@AllArgsConstructor
public class Tourist {


    /**
     * 游客编号
     */
    private Integer id;


    /**
     * 游客姓名
     */
    private String name;


    /**
     * 游客性别
     */
    private String gender;


    /**
     * 游客电话
     */
    private  String telephone;


    /**
     * 构造方法
     */
    public Tourist(String name,String gender,String telephone) {
        this.name = name;
        this.gender = gender;
        this.telephone = telephone;
    }

    @Override
    public String toString() {
        return "Tourist{" +
                "id=" + id +
                ", gender='" + gender + '\'' +
                ", name='" + name + '\'' +
                ", telephone='" + telephone + '\'' +
                '}';
    }
}
